package com.pig4cloud.pig.module.service.devices.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.module.api.entity.DeviceDrawRecord;
import com.pig4cloud.pig.module.mapper.devices.DeviceDrawRecordMapper;
import com.pig4cloud.pig.module.service.devices.IDeviceDrawRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 用户领取口罩和袋子的记录Service业务层处理
 *
 * @author ruoyi
 * @date 2022-06-13
 */
@Service
public class DeviceDrawRecordServiceImpl extends ServiceImpl<DeviceDrawRecordMapper, DeviceDrawRecord> implements IDeviceDrawRecordService {

	@Resource
	private DeviceDrawRecordMapper deviceDrawRecordMapper;

	@Override
	public Page<DeviceDrawRecord> selectRecordList(Page<DeviceDrawRecord> page, Map<String, Object> map) {
		return deviceDrawRecordMapper.selectRecordList(page,map);
	}

	@Override
	public List<DeviceDrawRecord> selectRecordList(Map<String, Object> map) {
		return deviceDrawRecordMapper.selectRecordList(map);
	}
}
